package com.itheima.HomeWork;

import java.util.Scanner;

public class HM03 {
   /* 键盘录入一个字符串，使用程序实现在控制台遍历该字符串。*/
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入");
        String s = sc.nextLine();
        for (int i = 0; i <s.length() ; i++) {
            char s1 =s.charAt(i);
            System.out.println(s1);
        }
    }
}
